A tuberculosis vaccine is a medicine that helps protect people from getting tuberculosis, a bacterial infection that mainly affects the lungs. The vaccine helps the body build defenses to fight off the germs that cause tuberculosis, keeping people healthy.